package com.lzc.springboot.service;

import com.lzc.springboot.domain.ResultInfo;
import com.lzc.springboot.domain.ShowDisease;
import com.lzc.springboot.domain.TemporaryPicture;

public interface TemporaryPicService {

  /**
   * 存储临时图片
   * @param picture
   */
  ResultInfo<TemporaryPicture> save(TemporaryPicture picture);

  /**
   * 删除临时图片
   * @param picture
   */
  void delete(TemporaryPicture picture);

  /**
   * 图片识别
   * @param tempPicId
   * @return
   */
  ShowDisease identify(int tempPicId);
}
